[echcement](hive)support read hive table that change timestamp column to bigint.#52954
Merged
morningman merged 2 commits intoapache:masterfrom Jul 10, 2025
Merged
[echcement](hive)support read hive table that change timestamp column to bigint.#52954morningman merged 2 commits intoapache:masterfrom
morningman merged 2 commits intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 33513 ms |
TPC-DS: Total hot run time: 186290 ms |
ClickBench: Total hot run time: 30.1 s |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 33266 ms |
TPC-DS: Total hot run time: 186287 ms |
ClickBench: Total hot run time: 29.42 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
morningman
reviewed
Jul 9, 2025
| auto& dst_value = reinterpret_cast<DstCppType&>(data[start_idx + i]); | ||
|
|
||
| int64_t ts_s = 0; | ||
| if (!src_value.unix_timestamp(&ts_s, cctz::utc_time_zone())) { |
Contributor
There was a problem hiding this comment.
Do we need to consider the timestamp with timezone?
Contributor
Author
There was a problem hiding this comment.
No need. Timezone conversion should be handled during the conversion from the Parquet physical type (int64) to the Parquet logical type (timestamp). Ref : struct Int64ToTimestamp : public PhysicalToLogicalConverter
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
morningman
approved these changes
Jul 10, 2025
hubgeter
added a commit
to hubgeter/doris
that referenced
this pull request
Jul 15, 2025
… to bigint. (apache#52954) Related PR: apache#47471 Problem Summary: This pr is a supplement to apache#47471. This pr is used to support reading hive tables that convert timestamp columns to bigint columns and display them in `ms` precision. (parquet/orc hive table.)
16 tasks
hubgeter
added a commit
to hubgeter/doris
that referenced
this pull request
Jul 15, 2025
… to bigint. (apache#52954) Related PR: apache#47471 Problem Summary: This pr is a supplement to apache#47471. This pr is used to support reading hive tables that convert timestamp columns to bigint columns and display them in `ms` precision. (parquet/orc hive table.)
16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Related PR: #47471
Problem Summary:
This pr is a supplement to #47471.
This pr is used to support reading hive tables that convert timestamp columns to bigint columns and display them in
msprecision. (parquet/orc hive table.)Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)